<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/30
 * Time: 11:04
 */

namespace app\entity;

use yii\db\ActiveRecord;

/**
 * sys_role_menu
 * Class SysRoleMenuEntity
 * @package fhyx\entity
 */
class SysRoleMenuEntity extends ActiveRecord
{


    /**
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param int $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return int
     */
    public function getRoleId()
    {
        return $this->role_id;
    }

    /**
     * @param int $role_id
     */
    public function setRoleId($role_id)
    {
        $this->role_id = $role_id;
    }

    /**
     * @return int
     */
    public function getMenuId()
    {
        return $this->menu_id;
    }

    /**
     * @param int $menu_id
     */
    public function setMenuId($menu_id)
    {
        $this->menu_id = $menu_id;
    }


    public static function tableName()
    {
        return "sys_role_menu";
    }




}
